// 头部
header{
    width: 100%;
    height: 58px;
    background-color: rgb(242,107,17);
    // 网页logo
    .logo{
        margin-top: 10px;
        margin-left: 18px;
    }
    .more{
        opacity: 0.7;
        border-radius: 4px;
        height: 35px;width: 35px;
        border: 2px solid white;
        margin-left: 10px;
        text-align: center;
        line-height: 35px;
        margin-top: 10.5px;
        display: none;
        i{
            font-size: 30px;
            color: white;
        }
        float: left;
    }
    // 右侧的用户信息
    .user_info{
        height: 58px;
        display: flex;
        width: 180px;
        justify-content: space-between;
        align-items: center;
        margin-right: 25px;
        .icon{
            display: block;
            height: 40px;
            width: 40px;
            border-radius: 50%;
        }
        h2{
            font-size: 14px;
            color: white;
        }
        p{
            i{
                margin-right: 5px;
            }
            font-size: 14px;
            color: white;
        }
    }
}
main{
    width: 100%;
    display: flex;
    // 主体的侧边栏
    aside{
        flex-shrink: 0;
        overflow: hidden;
        width: 220px;
        background-color: white;
        font-size: 14px;
        .d1{
            margin-top: 25px;
        }
        .d1,.d2,.d3,.d4{
            &:hover dt{
                color: rgb(236,151,32);
            }
            &:hover dd{
                display: block;
            }
        }
        dd:hover{
            background-color: rgb(236,151,32);
                color: white;
        }
        dl{         
            margin-left: 54px;
            margin-bottom: 10px;
            dt,dd{
                padding-left: 10px;
                height: 42px;
                line-height: 42px;
                cursor: pointer;
                i{
                    margin-right: 10px;
                }
            }
            dd{
                display: none;
                margin-left: 20px;
                margin-top: 5px;
            }
        }
    }
    .main_right{
        width: 100%;
        padding: 20px 27px;
        h1{
            font-size: 14px;
            padding-left: 10px;
            box-sizing: border-box;
            border-left: 5px solid rgb(239,111,14);
        }
        .box1{
            border-top: 1px solid rgb(187,187,187);
            width: 100%;
            margin-top: 24px;
            padding:44px 0 0 22px ;
            .name,.piace,.key{
                height: 32px;
                line-height: 32px;
                margin-bottom: 12px;
                .input{
                    width: 346px;
                    height: 32px;
                    background-color: white;
                    border: 1px solid rgb(195,171,125);
                    display: inline-block;
                    box-sizing: border-box;
                    input{
                        font-size: 12px;
                        margin-left: 10px;
                    }
                }
                span{
                    color: rgb(127,127,127);
                    margin-left: 10px;
                }
            }
            .describe{
                line-height: 32px;
                textarea{
                    margin-left: 4px;
                }
            }
            .key{
                padding-left: 12px;
            }
            button{
                width: 88px;
                height: 35px;
                color: white;
                margin-top: 15px;
                border-radius: 8px;
                &:nth-of-type(1){
                    background-color: rgb(234,87,10);
                    margin-left:62px;
                    margin-right: 7px;
                }
                &:nth-of-type(2){
                    background-color: rgb(129,129,129);
                }
            }
        }
    }
}

@media screen and (max-width:991px) and (min-width:768px) {
    main .main_right .box1 .name,
    main .main_right .box1 .piace,
    main .main_right .box1 .key,
    main .main_right .box1 .describe{
        display: flex;
        height: auto;
        flex-direction: column;
        span{
            margin: 0;
        }
        .input{
            width: 100%;
        }
    }
    main .main_right .box1 .key{
        padding: 0;
    }

    main .main_right .box1 .describe{
        textarea{
            margin: 0;
        }
    }
    main .main_right .box1 button:nth-of-type(1){
        margin-left:0 ;
    }
}
@media screen and (max-width:767px){
    main .main_right .box1 .name,
    main .main_right .box1 .piace,
    main .main_right .box1 .key,
    main .main_right .box1 .describe{
        display: flex;
        height: auto;
        flex-direction: column;
        span{
            margin: 0;
        }
        .input{
            width: 100%;
        }
    }
    main .main_right .box1 .key{
        padding: 0;
    }

    main .main_right .box1 .describe{
        textarea{
            margin: 0;
        }
    }
    main .main_right .box1 button:nth-of-type(1){
        margin-left:0 ;
    }
    main aside{
        display: none;
      }
    header .logo{
        display: none;
    }
    header .more{
        display: block;
    }
}